﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OnlineQC
{
    public class ApplicationSetting
    {
        /// <summary>
        /// 应用路径
        /// </summary>
        public string ApplicationPath = AppDomain.CurrentDomain.BaseDirectory;

        /// <summary>
        /// 默认参数路径
        /// </summary>
        public string DefaultParameterPath => ApplicationPath + "config\\";

        /// <summary>
        /// 默认参数文件 名称
        /// </summary>
        public string DefaultParameterName = "DefaultDeviceParameter.xml";

        /// <summary>
        /// 默认参数路径名称
        /// </summary>
        public string DefaultParameterPathName => DefaultParameterPath + "DefaultDeviceParameter.xml";


        /// <summary>
        /// 默认参数路径
        /// </summary>
        public string DeviceInfoPath => ApplicationPath + "DeviceInfo\\";
        /// <summary>
        /// 默认参数路径
        /// </summary>
        public string CustomParameterPath => DeviceInfoPath + "CustomParameter.txt";
    }
}
